<?php

/**
 * This file is part of the Framework03 PHP framework.
 * @author Walter Tamboer
 * @package Framework03
 */

/**
 * The FW_Form_Element_Submit class represents a submit button in an HTML form.
 */
class FW_Form_Element_Submit extends FW_Form_Element
{
    /**
     * Gets the string representation of this element.
     * @return Returns the created HTML text of this element.
     */
    public function render()
    {
        return '<input type="submit"'.$this->renderAttributes().' />';
    }
}
